package com.fortune.service;

import com.fortune.dto.in.dStoreIn.DstoreInListDto;
import com.fortune.dto.in.dStoreIn.DstoreInitAddDto;
import com.fortune.dto.in.dStoreIn.DstoreInitEditDto;
import com.fortune.dto.in.dealerWarehouseReceiptWarehouse.ConfirmStorage;
import com.fortune.dto.in.dealerWarehouseReceiptWarehouse.DealerWarehouseReceiptWarehouseDto;
import com.fortune.vo.dStorage.DstorageInfo;
import com.fortune.vo.dStoreIn.DinitDetails;
import com.fortune.vo.dStoreIn.DstoreInInfo;

import java.util.List;

/**
 * Created by Administrator on 2018/5/26 0026.
 */
public interface DstoreInService {

    List<DstoreInInfo> findStoreList(DstoreInListDto dstoreInListDto,String mid,String did);

    int findStoreListCount(String mid,String did);

    int queryDInitInfoIsExist(String mid,String did,String num,String storeId);

    int addDInitInfo(String mid,String did,String id,DstoreInitAddDto addDto);

    int editDInitInfo(String mid, String did,DstoreInitEditDto editDto);

    int deleteDInitInfo(String mid,String did,String id);

    DinitDetails queryStoreInitDetails(String mid,String did,String id);

    int storeInitConfirm(String mid,String did,String id);

    List<DstorageInfo> findStorageList(DealerWarehouseReceiptWarehouseDto dealerDto,String mid,String did);

    int findStorageListCount(DealerWarehouseReceiptWarehouseDto dealerDto,String mid,String did);

    int confirmStorage(ConfirmStorage confirmStorage,String mid,String did,String chickId);
}
